//对外暴露一个函数

//存储token
export const setToken = (token)=>{
  localStorage.setItem('token',token)
}

//暴露token
export const getToken = (token)=>{
  return localStorage.getItem('token')
}

//清除token
export const removeToken = ()=>{
  localStorage.removeItem('token')
}